import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class HtmlParser {
    public static Elements parse(String html, String selector) {
        Document doc = Jsoup.parse(html);
        return doc.select(selector);
    }
}